<?php
	class phanlopbs
	{
		public $MaLop = 0;
		public $MaPhanLop = "";
		public $MaGiaoVien = "";
		public $SiSo = 0;
		public $NamHoc = "";
		public function Add()
		{
			$db = new phanlopdb();
			return $db->Add($this->MaPhanLop,$this->MaLop,$this->MaGiaoVien,$this->SiSo,$this->NamHoc);
		}
		
		public function Delete()
		{
			$db = new phanlopdb();
			return $db->Delete($this->MaPhanLop);
		}
		
		public function Update()
		{
			$db = new phanlopdb();
			return $db->Update($this->MaPhanLop,$this->MaLop,$this->MaGiaoVien,$this->SiSo,$this->NamHoc);
		}
			
		public function GetList()
		{
			$db = new phanlopdb();
			return $db->GetList($this->MaPhanLop,$this->MaLop,$this->MaGiaoVien,$this->SiSo,$this->NamHoc);
		}
		
		
	}
?>